#include <iostream>
#include <glog/logging.h>


using namespace std;
#define VERSION "0.1"
int main(int argc, char *argv[])
{
    google::InitGoogleLogging("glogTest");

    google::SetLogDestination(google::GLOG_INFO,"log/info_");
    google::SetStderrLogging(google::GLOG_INFO);
    google::SetLogFilenameExtension("log_");

    FLAGS_colorlogtostderr = true;
    FLAGS_logbufsecs = 0;
    FLAGS_max_log_size = 1024;
    FLAGS_stop_logging_if_full_disk = true;
    FLAGS_log_prefix = true;
    FLAGS_alsologtostderr = true;

    LOG(INFO) <<"Program Version: " << VERSION;
    cout << "Hello World!" << endl;

    google::ShutdownGoogleLogging();
    return 0;
}
